package com.smarthospital.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 作    者： yingming shen
 * 修改时间： 2020/8/15 17:11.
 * 描   述：
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description="问诊订单" )
public class InquiryOrder implements Serializable {

    private static final long serialVersionUID = 16161151616L;
    //问诊单单次音视频通话时长
    public static final Integer LEFT_VEDIO_TIME = 20;

    @ApiModelProperty(value = "id  数据库自增id")
    private Long id;
    @ApiModelProperty(value = "【必输】问诊人id")
    private Long inquiryManId;
    @ApiModelProperty(value = "【必输】医生id")
    private Long doctorId;
    @ApiModelProperty(value = "订单总金额 单位分")
    private Integer total;
    @ApiModelProperty(value = "微信支付生成的订单编号")
    private String  wxOrderId;

    @ApiModelProperty(value = "医生级别 0_普通医生 1_专家")
    private Integer doctorLevel;

    @ApiModelProperty(value = "医院")
    private String hospital;
    @ApiModelProperty(value = "医生")
    private String doctor;
    @ApiModelProperty(value = "【必输】问诊项目 0_图文问诊 1_电话问诊 2_视频问诊")
    private Integer inquiryType;
    @ApiModelProperty(value = "状态 0_待付款 1_已付款 2_取消 3_完成 4_已经退款")
    private Integer status;
    @ApiModelProperty(value = "[视频问诊] 剩余视频时间(单位:秒)")
    private Integer leftVedioTime = LEFT_VEDIO_TIME;

    @ApiModelProperty(value = "【必输】约定问诊时间 2021-05-28 08:30")
    private String inquiryTime;
    @ApiModelProperty(value = "问诊人")
    private String inquiryMan;

    @ApiModelProperty(value = "数据创建时间")
    private Date createTime;
    @ApiModelProperty(value = "数据更新时间")
    private Date updateTime;

}
